package main

import (
	"fmt"
	"regexp"
)

func main() {
	compile, _ := regexp.Compile(`foo.?`)

	b := compile.Find([]byte(`seafood`))
	fmt.Println(string(b))
	//food
}
